:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --tertiary-color: #e74c3c;
    --bg-color: #f9f9f9;
    --text-color: #333;
    --card-bg: #fff;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header p {
    font-size: 1.2rem;
    color: #666;
}

.sponsor-list-container {
    margin-bottom: 3rem;
}

.sponsor-list-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.sponsor-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.sponsor-card {
    width: 200px;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    border: 2px solid var(--primary-color);
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sponsor-image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-block {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.sponsor-info {
    padding: 1rem;
}

.sponsor-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.sponsor-note-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.sponsor-link {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background-color: rgba(52, 152, 219, 0.1);
    transition: background-color 0.3s ease;
}

.sponsor-link:hover {
    background-color: rgba(52, 152, 219, 0.2);
}

.become-sponsor {
    text-align: center;
    margin: 3rem 0;
}

.sponsor-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.sponsor-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.sponsor-button i {
    margin-right: 0.5rem;
}

.sponsor-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.payment-method {
    flex: 1;
    max-width: 200px;
}

.payment-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #f5f5f5;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-btn:hover {
    background-color: #e9e9e9;
}

.payment-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.payment-btn i {
    font-size: 20px;
}

.qr-container {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.qr-container.active {
    display: block;
}

.qr-code {
    margin: 20px auto;
    max-width: 250px;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qr-code img {
    width: 100%;
    height: auto;
    display: block;
}

.sponsor-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.sponsor-info ul {
    margin: 10px 0 10px 20px;
}

.sponsor-info li {
    margin-bottom: 8px;
}

.device-note {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.device-note h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.device-note ul {
    margin: 10px 0 10px 20px;
}

.device-note p {
    margin-bottom: 10px;
}

.note-small {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 10px !important;
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: #666;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.empty-message {
    padding: 20px;
    text-align: center;
    color: #888;
    font-style: italic;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .sponsor-list-container h2 {
        font-size: 1.5rem;
    }
    
    .sponsor-card {
        width: 170px;
    }
    
    .modal-content {
        padding: 20px;
        margin: 40px auto;
    }
    
    .payment-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .payment-method {
        max-width: 100%;
        width: 100%;
    }
} 